<?php
namespace App\Inventory\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 商品信息Dto （导入导出）
 */
#[ExcelData]
class InventoryGoodsDto implements MineModelExcel
{
    #[ExcelProperty(value: "ID", index: 0)]
    public string $id;

    #[ExcelProperty(value: "商品编号", index: 1)]
    public string $number;

    #[ExcelProperty(value: "商品名称", index: 2)]
    public string $name;

    #[ExcelProperty(value: "牌号", index: 3)]
    public string $mark;

    #[ExcelProperty(value: "状态", index: 4)]
    public string $state;

    #[ExcelProperty(value: "规格", index: 5)]
    public string $size;

    #[ExcelProperty(value: "计重单位", index: 6)]
    public string $unit;

    #[ExcelProperty(value: "商品图片", index: 7)]
    public string $goods_image;

    #[ExcelProperty(value: "最低库存重量", index: 8)]
    public string $min_inventory;

    #[ExcelProperty(value: "最高库存重量", index: 9)]
    public string $max_inventory;

    #[ExcelProperty(value: "加价费用(元)", index: 10)]
    public string $raise_price;

    #[ExcelProperty(value: "备注", index: 11)]
    public string $remark;

    #[ExcelProperty(value: "创建时间", index: 12)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 13)]
    public string $updated_at;

    #[ExcelProperty(value: "删除时间", index: 14)]
    public string $deleted_at;

    #[ExcelProperty(value: "企业ID", index: 15)]
    public string $firmid;


}